package com.fanhang.samples.spring.shiro.po;

import com.fanhang.samples.spring.shiro.po.tbl.UserTbl;

public class User extends UserTbl {
	private static final long serialVersionUID = 1L;
	
	public String[] getRoles() {
		String role = super.getRoleString();
		return role == null ? new String[]{} : role.split(",");
	}
}
